home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
win
/
ch07
/
07fig12a.wrl
< prev
next >
Wrap
Text File
|
1996-09-23
|
768b
|
45 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright 1997 By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
children [
# Ground
Shape {
appearance DEF White Appearance {
material Material { }
}
geometry Box {
size 12.0 0.1 12.0
}
},
# Tree
Transform {
translation 0.0 1.0 0.0
scale 1.0 1.0 1.0
center 0.0 -1.0 0.0
children [
# Trunk
Shape {
appearance USE White
geometry Cylinder {
radius 0.5
height 2.0
}
},
# Branches
Transform {
translation 0.0 3.0 0.0
children Shape {
appearance USE White
geometry Cone {
bottomRadius 2.0
height 4.0
}
}
}
]
}
]
}